package com.ildepinc.persistence.abstracts;

import com.ildepinc.persistence.interfaces.SequenceGenericBehaviour;

public class SequenceGeneric implements SequenceGenericBehaviour {
  private String schema;
  private String sequenceName;
  private String sqlCreate;
  private String sqlDrop;
  private String sqlNextVal;
  private String sqlCurrVal;

  @Override
  public String getSchema() {
    return this.schema;
  }

  @Override
  public String getSequenceName() {
    return this.sequenceName;
  }

  @Override
  public String getSqlCreate() {
    return this.sqlCreate;
  }

  @Override
  public String getSqlCurrVal() {
    return this.sqlCurrVal;
  }

  @Override
  public String getSqlDrop() {
    return this.sqlDrop;
  }

  @Override
  public String getSqlNextVal() {
    return this.sqlNextVal;
  }

  @Override
  public void setSchema(String schema) {
    this.schema = schema;
  }

  @Override
  public void setSequenceName(String sequenceName) {
    this.sequenceName = sequenceName;
  }

  @Override
  public void setSqlCreate(String sqlCreate) {
    this.sqlCreate = sqlCreate;
  }

  @Override
  public void setSqlCurrVal(String sqlCurrVal) {
    this.sqlCurrVal = sqlCurrVal;
  }

  @Override
  public void setSqlDrop(String sqlDrop) {
    this.sqlDrop = sqlDrop;
  }

  @Override
  public void setSqlNextVal(String sqlNextVal) {
    this.sqlNextVal = sqlNextVal;
  }

  @Override
  public void clear() {
    this.schema = null;
    this.sequenceName = null;
    this.sqlCreate = null;
    this.sqlDrop = null;
    this.sqlNextVal = null;
    this.sqlCurrVal = null;
  }

  @Override
  public void setDefaults(String schema) {
    this.schema = schema;
  }

}
